package org.meetunexpectedly.entity.vo;

import lombok.Data;

import java.util.List;

/**
 * @Description: 视频推送模型
 * @Author: pupil
 * @Date: 2024/08/13 下午 7:28
 */
@Data
public class Model {

    // 视频id
    private Long videoId;
    // 兴趣视频分类标签
    private String label;

    /**
     * 暴漏的接口只有根据停留时长 {@link org.meetunexpectedly.controller.CustomerController#updateUserModel}
     */
    // 该标签的概率
    private Double score;

    // 获取分类标签
    public String[] buildLabels(){
        String[] labels = label.split(",");
        return  labels;
    }
}
